
interface SkuArray {
  map(arg0: (s: any, idx: any) => JSX.Element): import('react').ReactNode
  [index: number]: any
}

interface GoodsInfo {
  id: number | string
  name: string
  stock: number | string
  salePrice: number | string
  originalPrice?: number | string
  thumbUrl: string
  isOnSale?: string | number
  stockTips?: string
  goodsSkuId?: string | number
  goodsDistributionId?: string | number
  mobile?: string | number
  shareType?: string | number
}

interface SelectSkuInfo {
  id: number | string
  name: string
  property?: any
}

export interface SelectSku {
  map(arg0: (v: any, i: any) => string): import('react').ReactNode;
  length: any
  [index: number]: SelectSkuInfo | undefined | 'null'
}

export interface State {
  number: number
  visible: boolean
  sku: SkuArray
  goodsInfo: GoodsInfo
  selectSku: SelectSku | any
  storeCode?: string
  goodsSkuId: string | number
  isCurrentSku?: boolean
  maxNumber: number,
  selectStore:any
  jihuasuanInfo:any
}

export interface Props {
  visible?: boolean | undefined
  sku: SkuArray
  goodsInfo: GoodsInfo,
  selectStore:any,
  jihuasuanInfo:any,
  onClose?(info?: SelectSku, number?: number, goodsInfo?: any): void
}
